Declare Function NetServerEnum2 Lib "NetAPI.dll" (ByVal szServer As String, ByVal nLevel As Integer, ByVal szServers As String, ByVal nSize As Integer, nEntries As Integer, nTotal As Integer, ByVal lTypes As Long, ByVal szDomain As String) As Integer
Declare Function NetShareEnum Lib "NetAPI.dll" (ByVal szServer As String, ByVal nLevel As Integer, Share As Share_Info, ByVal nSize As Integer, nEntries As Integer, nTotal As Integer) As Integer
Declare Function DosPrintQGetInfo Lib "PMSPL.dll" (ByVal szServer As String, ByVal lpPath As Long, ByVal nLevel As Integer, Queue As PRQJINFO, ByVal nSize As Integer, nNeeded As Integer) As Integer